package com.example.demo.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.joda.time.DateTime;

import javax.naming.ldap.PagedResultsControl;

@Data
@TableName("orders")
public class Order {
    @TableId
    private Integer id;
    @TableField(value = "user_id")
    private Long userId;
    @TableField(value = "user_currency")
    private Long userCurrency;
    @TableField(value = "address_id")
    private Long addressId;
    @TableField(value = "email")
    private String emali;
    @TableField(value = "status")
    private Integer status;
    @TableField(value = "create_time")
    private DateTime createTime;
    @TableField(value = "pay_time")
    private DateTime payTime;
    @TableField(value = "update_time")
    private DateTime updateTime;
    @TableField(value = "deleted")
    private Integer deleted;

}
